/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package artaza.service;

import artaza.persistencia.Camarero;
import com.google.appengine.api.datastore.Key;
import java.util.Collection;
import java.util.List;

public interface CamareroService {

    public void create(final Camarero camarero);

    public void remove (final Key id);
    
    public Collection<Camarero> getAllcamareros();

    public List<Camarero> buscar (int criterio, String palabra);

    public Camarero findByPK(Key id);

    public void update(Camarero cam);

    public Camarero buscarDni(String dni);
   }
